package com.yequan.thread.workerthread;

/**
 * @author yq
 * @date 2020/08/14
 */
public class Main {

    public static void main(String[] args) {
        Channel channel = new Channel(5);
        channel.startWorkers();
        new ClientThread("Alice",channel).start();
        new ClientThread("Bobby",channel).start();
        new ClientThread("Chris",channel).start();
    }

}
